package com.gitee.feizns.utils;

import java.util.Arrays;
import java.util.stream.Collectors;

/**
 * @author feizns
 * @since 2019/8/12
 */
public abstract class StringUtils {

    /**
     * 连接字符串
     * @param str
     * @return
     */
    public static String concat(String sep, String... str) {
        return str != null ? Arrays.stream(str).collect(Collectors.joining(sep)) : "";
    }

}
